﻿using AutoMapper;
using SC.GridManage.Domain.Models;
using SC.GridManage.MN.API.Write.Application.Command.Artical;

namespace SC.GridManage.MN.API.Write
{
    public class GMAutoMapper : Profile
    {
        public GMAutoMapper()
        {
            CreateMap<ArticalModel,CreateArticalCommand>().ReverseMap();
            CreateMap<ArticalModel,UpdateAriticalCommand>().ReverseMap();
        }
    }
}
